core: Add size information to commit metadata
authorJeremy Whiting <jeremy.whiting@collabora.com>
Wed, 9 Oct 2013 02:44:39 +0000 (20:44 -0600)
committerColin Walters <walters@verbum.org>
Sat, 19 Oct 2013 15:56:51 +0000 (11:56 -0400)
commitf583c4ab0b42b96caf47e4c068394ca1771115c0
tree0d4f19ec3b58f05fcff762ca124e242c924be35f
parentb35d1499b844f4d7b09ec7458d27912f14a030e1
core: Add size information to commit metadata

Add a --generate-sizes option to commit to add size information to the
commit metadata.  This will be used by higher level code which wants
to determine the total size necessary for downloading.
Makefile-tests.am
src/libostree/ostree-repo-commit.c
src/libostree/ostree-repo-private.h
src/libostree/ostree-repo.c
src/libostree/ostree-repo.h
src/ostree/ot-builtin-commit.c
tests/test-sizes.js [new file with mode: 0644]